package top.v5it.japi.plus.data.jpa.service.support;

import org.springframework.beans.factory.annotation.Autowired;
import top.v5it.japi.plus.data.jpa.repository.JapiJpaRepository;
import top.v5it.japi.plus.data.jpa.service.JapiJpaService;

/**
 * 服务实现
 *
 * @author zhanpu
 * @date 2021/3/12
 */
public class JapiSimpleJpaService<J extends JapiJpaRepository<T, ID>, T, ID> implements JapiJpaService<T, ID> {

    @Autowired
    protected J japiJpaRepository;

    @Override
    public JapiJpaRepository<T, ID> getJapiRepository() {
        return japiJpaRepository;
    }

}
